﻿<%@ Page Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" AutoEventWireup="true"
    CodeFile="UpdateKeyUnit.aspx.cs" Inherits="BasicBase_KeyUnit_UpdateKeyUnit" Title="无标题页"
    StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%" cellpadding="0" cellspacing="0" class="intable">
        <caption>
            <asp:Label runat="server" ID="caption"> 编辑重点单位基本信息</asp:Label>
        </caption>
        <tr>
            <td style="width: 12%">
                单位名称：
            </td>
            <td style="width: 38%">
                <asp:TextBox ID="txtUnitName" runat="server"></asp:TextBox>
            </td>
            <td style="width: 12%">
                &nbsp;</td>
            <td style="width: 38%">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 12%">
                类型：
            </td>
            <td colspan="3">
                <asp:DropDownList ID="ddlStandards" runat="server" Width="80%">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                法人代表：
            </td>
            <td>
                <asp:TextBox ID="txtCorporation" runat="server"></asp:TextBox>
            </td>
            <td>
                联系电话：
            </td>
            <td>
                <asp:TextBox ID="txtCorpTel" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                消防负责人：
            </td>
            <td>
                <asp:TextBox ID="txtPrincipal" runat="server"></asp:TextBox>
            </td>
            <td>
                联系电话：
            </td>
            <td>
                <asp:TextBox ID="txtPricTel" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                占地面积：
            </td>
            <td>
                <asp:TextBox ID="txtZDArea" runat="server"></asp:TextBox>
                m<sup>2</sup><ajaxToolkit:FilteredTextBoxExtender ID="ftbe" runat="server" TargetControlID="txtZDArea"
                    FilterType="Custom, Numbers" ValidChars="." />
            </td>
            <td>
                建筑面积：
            </td>
            <td>
                <asp:TextBox ID="txtJZhArea" runat="server"></asp:TextBox>
                m<sup>2</sup><ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
                    TargetControlID="txtJZhArea" FilterType="Custom, Numbers" ValidChars="." />
            </td>
        </tr>
        <tr>
            <td>
                所有制形式：
            </td>
            <td>
                <asp:DropDownList ID="ddlPossessive" runat="server">
                    <asp:ListItem>公有制</asp:ListItem>
                    <asp:ListItem>私有制</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                职工（机关）人数:
            </td>
            <td>
                <asp:TextBox ID="txtPeople" runat="server"></asp:TextBox>&nbsp;
                <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server"
                    TargetControlID="txtPeople" FilterType="Numbers" />
            </td>
        </tr>
        <tr>
            <td>
                固定资产：
            </td>
            <td>
                <asp:TextBox ID="txtAsserts" runat="server"></asp:TextBox><ajaxToolkit:FilteredTextBoxExtender
                    ID="FilteredTextBoxExtender2" runat="server" TargetControlID="txtAsserts" FilterType="Custom, Numbers"
                    ValidChars="." />
                万元
            </td>
            <td>
                年总产值：
            </td>
            <td>
                <asp:TextBox ID="txtIncome" runat="server"></asp:TextBox><ajaxToolkit:FilteredTextBoxExtender
                    ID="FilteredTextBoxExtender3" runat="server" TargetControlID="txtIncome" FilterType="Custom, Numbers"
                    ValidChars="." />
                万元
            </td>
        </tr>
        <tr>
            <td>
                辖区中队：
            </td>
            <td>
                <asp:DropDownList ID="DepartmentList" runat="server" AutoPostBack="True" DataTextField="ShortName"
                    DataValueField="DepartmentID" OnSelectedIndexChanged="DepartmentList_SelectedIndexChanged1">
                </asp:DropDownList>
                <asp:DropDownList ID="UnitList" runat="server" DataTextField="ShortName" 
                    DataValueField="DepartmentID">
                </asp:DropDownList>
            </td>
            <td>
                详细地址：
            </td>
            <td>
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                经度：
            </td>
            <td>
                <asp:TextBox ID="txtJingDu" runat="server"></asp:TextBox><ajaxToolkit:FilteredTextBoxExtender
                    ID="FilteredTextBoxExtender5" runat="server" TargetControlID="txtJingDu" FilterType="Custom, Numbers"
                    ValidChars="." />
            </td>
            <td>
                纬度：
            </td>
            <td>
                <asp:TextBox ID="txtWeiDu" runat="server"></asp:TextBox><ajaxToolkit:FilteredTextBoxExtender
                    ID="FilteredTextBoxExtender6" runat="server" TargetControlID="txtWeiDu" FilterType="Custom, Numbers"
                    ValidChars="." />
            </td>
        </tr>
        <%--<tr>
    <td colspan="4">
        四邻情况：
    </td>
</tr>--%>
        <tr>
            <td>
                东邻：
            </td>
            <td>
                <asp:TextBox ID="txtEast" runat="server"></asp:TextBox>
            </td>
            <td>
                西邻：
            </td>
            <td>
                <asp:TextBox ID="txtWest" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                南邻：
            </td>
            <td>
                <asp:TextBox ID="txtSouth" runat="server"></asp:TextBox>
            </td>
            <td>
                北邻：
            </td>
            <td>
                <asp:TextBox ID="txtNorth" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="4">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
